package com.core.family.admin.service;

import com.core.family.admin.domain.dto.RoleGp;
import com.core.family.admin.domain.po.SysRoleG;
import com.core.common.gen.IBaseService;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @author honglei
 * @version 1.0
 * @time: 2022-6-10 11:46:34
 * @Description 服务实现层接口
 */
public interface SysRoleGService extends IBaseService<SysRoleG> {

    List<SysRoleG> listByGroupIds(Serializable orgId, Collection<?> groupIds);

    List<SysRoleG> listByGroupId(Serializable orgId, Integer groupId);

    boolean saveRoleGp(RoleGp role);

}

